package com.home.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.home.demo.entity.UserEntity;
import com.home.demo.entity.dto.user.UserListDTO;
import com.home.demo.entity.vo.user.UserListVO;
import com.home.demo.entity.vo.user.UserLoginVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * 
 * @author ${author}
 * @email ${email}
 * @date 2024-02-21 15:24:19
 */
@Mapper
public interface UserDao extends BaseMapper<UserEntity> {

    UserLoginVO selectUserInfo(String username);


    IPage<UserListVO> getUserList(@Param("page") Page<Object> objectPage,@Param("userListDTO") UserListDTO userListDTO);
}
